﻿<Window x:Class="TestApp.MdiWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mdi="clr-namespace:WPF.MDI;assembly=WPF.MDI"
        Title="Explorer Mdi Sample" Height="500" Width="800">
    <Grid>
        <mdi:MdiContainer Name="Container">
            <mdi:MdiContainer.Menu>
                <Menu DockPanel.Dock="Top">
                    <MenuItem Header="Add">
                        <MenuItem Header="Explorer" Click="Explorer_Click" />
                    </MenuItem>
                    <MenuItem Header="About">
                        <MenuItem Header="This demo uses WPF.MDI class" Click="WPFMDI_Click" />
                    </MenuItem>
                </Menu>
            </mdi:MdiContainer.Menu>
        </mdi:MdiContainer>
    </Grid>
</Window>
